﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： WashShopEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-11-18
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
    /// <summary>
    ///数据实体  
    /// </summary>
    [PrimaryKey("WashID")]
    public class WashShop
    {
        ///<summary>
        ///
        ///</summary>
        public WashShop()
        {
        }


        ///<summary>
        ///
        ///</summary>
        [Column("WashID", "")]
        public int WashID { get; set; }
        /// <summary>
        /// 省份ID
        /// </summary>
        [Column("ProvinceID", "")]
        public int ProvinceID { get; set; }
        ///<summary>
        ///城市ID
        ///</summary>
        [Column("CityID", "")]
        public int CityID { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("DistrictID", "")]
        public int DistrictID { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("WashName", "")]
        public string WashName { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("Address", "")]
        public string Address { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("Longitude", "")]
        public double Longitude { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("Latitude", "")]
        public double Latitude { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("CreateDate", "")]
        public DateTime CreateDate { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("UpdateDate", "")]
        public DateTime UpdateDate { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("IsActive", "")]
        public int IsActive { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("EvaluateCount", "")]
        public int EvaluateCount { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("OrderCount", "")]
        public int OrderCount { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("WorkTime", "")]
        public string WorkTime { get; set; }

        ///<summary>
        ///
        ///</summary>
        [Column("ImageUrl", "")]
        public string ImageUrl { get; set; }


        /// <summary>
        /// 距离
        /// </summary>
        [ResultColumn]
        public int Distance { set; get; }
    }
}